package com.example.demo.entity;

import java.util.Date;

public class Log {

    private String clientIp;
    private String url;
    private Date requestTime;
    private String method;  //请求方式
    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Date requestTime) {
        this.requestTime = requestTime;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    @Override
    public String toString() {
        return "Log{" +
                "clientIp='" + clientIp + '\'' +
                ", url='" + url + '\'' +
                ", requestTime=" + requestTime +
                ", method='" + method + '\'' +
                '}';
    }
}
